package com.xxx.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`early_warning`")
public class EarlyWarning {
    /**预警决策id**/

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**报备id**/
    private String mattersId;
    /**重要性颜色**/
    private Integer significantLevel;
    /**重要性指标值**/
    private Double significantValue;
    /**差异性颜色**/
    private Integer differenceLevel;
    /**差异性指标值**/
    private Double differenceValue;
    /**缺陷性颜色**/
    private Integer flawLevel;
    /**缺陷性指标值**/
    private Double flawValue;
    /**结论**/
    private String conclusion;
    /**附件**/
    private String annex;
    /**创建人**/
    private String createUser;
    /**预警决策时间**/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
    /**状态 0: 未完成  1:已完成 **/
    private Integer status;
    @TableField("`delete`")
    @TableLogic // 标记为逻辑删除字段
    private Integer delete;

}
